package com.laowang.project.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 保险对象 my_form_insurance
 *
 * @author laowang
 * @date 2024-04-24
 */
@NoArgsConstructor
@Data
public class MyFormInsurance implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 车型
     */
    @Excel(name = "车型")
    @ApiModelProperty(value = "车型", required = false)
    private Integer carType;

    /**
     * 车名称
     */
    @Excel(name = "车名称")
    @ApiModelProperty(value = "车名称", required = false)
    private String carName;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号", required = false)
    private String phone;

    /**
     * 保险购买时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保险购买时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "保险购买时间", required = false)
    private Date buyTime;


}
